<?php

namespace app\admin\model\xiluedu;

use app\common\model\User;
use think\Model;
use function fast\array_get;


class LotteryLog extends Model
{


    // 表名
    protected $name = 'xiluedu_lottery_log';

    protected $autoWriteTimestamp = 'int';

    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';

    // 追加属性
    protected $append = [

    ];

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'id');
    }

}
